<div id="footer">
    <footer id="footer" class="footer hidden-print">
        <div class="container" style="margin-top: 40px;">
            <div class="row">
                <div class="footer-about col-md-5 col-sm-12" id="about">
                    <h4>
                        <?php echo $web['about'];?>
                    </h4>
                    <p>
                        自上线以来已经提供数 <span id="nums">
                            <?php echo $count;?>
                        </span> 次 API 接口服务。
                    </p>
                    <p>
                        累积调用：
                        <?php echo $count;?> 次 · 稳定运行：<span id="y-day"></span> 天。
                    </p>
                    <p>
                        反馈或建议请发送邮件至：<a href="mailto:<?php echo $web['email']?>">
                            <?php echo $web['email']?>
                        </a>
                    </p>
                </div>

                <div class="footer-links col-md-3 col-sm-12">
                    <h4>友情链接</h4>
                    <ul class="list-unstyled list-inline">
                        <li><a href="http://www.lykep.com/" target="_blank">零艺客</a>
                        </li>
                    </ul>
                </div>
                <div class="footer-techs col-md-4 col-sm-12">
                    <h4>赞助我们</h4>
                    <p style="float: left;">
                        <img src="<?php echo $web['url1'];?>" style="width: 45%;">
                        <img src="<?php echo $web['url2'];?>" style="width: 45%;">
                    </p>
                </div>
            </div>
        </div>
        <div class="copy-right">
            <?php echo $web['icp'];?>
        </div>
    </footer>
    <a href="#" id="back-to-top"><i class="fa fa-angle-up"></i></a>
</div>


<script>
    //建站时间
    function show_date_time(t) {
        window.setTimeout("show_date_time()", 1000);
        BirthDay = new Date(t);
        today = new Date();
        timeold = (today.getTime() - BirthDay.getTime());
        sectimeold = timeold / 1000;
        secondsold = Math.floor(sectimeold);
        msPerDay = 24 * 60 * 60 * 1000;
        e_daysold = timeold / msPerDay;
        daysold = Math.floor(e_daysold);
        e_hrsold = (e_daysold - daysold) * 24;
        return daysold;
    }
    $("#y-day").html(show_date_time(web_time));
</script>
</body>

</html>